package polymorphism;

/**
 * @author yuisama
 * @date 2022/04/27 20:04
 **/
public class D extends B{
    private static int num = 10;
    public D() {
        super();
    }
    public void fun() {
        System.out.println("D.fun,num = " + num);
    }

    public static void main(String[] args) {
        D d = new D();
    }
}